package com.fhz.roomtest

import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import androidx.room.*

/**
 * 时间:2023/3/27
 * @author Mr.Feng
 * 简述: TODO
 */
@Dao
interface StudentDao {
    @Insert
    fun insert(vararg s: Student)

    @Query("select  * from student")
     fun getStudent(): LiveData<List<Student>>
}